home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib16.dsk
/
REVERSE DEMO 1.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
851b
|
19 lines
10 HOME :D$ = CHR$(4):REVERSE = 864
20 PRINT D$"BLOAD REVERSE HI-RES.OBJ0"
30 PRINT D$"BLOAD SPACEPIC,A$2000"
40 BEG = 8192:EN = 16383:DEST = 16384: GOSUB 10000: REM MOVE PICTURE TO PAGE 2
50 POKE -16300,0: POKE -16302,0: POKE -16297,0: POKE -16304,0
60 POKE 230,64: CALL REVERSE,0,0,39,191: POKE 230,32
70 INPUT A
80 FOR I = 1 TO A
90 POKE -16299,0: REM TURN ON PAGE 2
100 FOR J = 1 TO 15: NEXT : REM DELAY A SHORT WHILE
110 POKE -16300,0: REM TURN ON PAGE 1
120 FOR J = 1 TO 30: NEXT : REM DELAY SOME MORE
130 NEXT
140 GOTO 70
10000 POKE 938,216: POKE 939,160: POKE 940,0: POKE 941,76: POKE 942,44: POKE 943,254
10010 POKE 60,BEG - INT(BEG/256) *256: POKE 61, INT(BEG/256)
10020 POKE 62,EN - INT(EN/256) *256: POKE 63, INT(EN/256)
10030 POKE 66,DEST - INT(DEST/256) *256: POKE 67, INT(DEST/256)
10040 CALL 938: RETURN